From f8e922f9ec3a45181786daa0000308e0cbd6a2e9 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 6 May 2005 03:12:33 +0000 Subject: [PATCH] Small cleanups. 2005-05-05 Matthias Clasen * gtk/gtktreednd.h: * gtk/gtkwidget.h: Small cleanups. --- ChangeLog | 3 +++ ChangeLog.pre-2-10 | 3 +++ ChangeLog.pre-2-8 | 3 +++ gtk/gtktreednd.h | 10 ++-------- gtk/gtkwidget.h | 10 ++-------- 5 files changed, 13 insertions(+), 16 deletions(-) diff --git a/ChangeLog b/ChangeLog index 30e861bcab..63af8b6606 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-05-05 Matthias Clasen + * gtk/gtktreednd.h: + * gtk/gtkwidget.h: Small cleanups. + * gtk/gtktreeview.c (gtk_tree_view_get_dest_row_at_pos): Fix a typo. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 30e861bcab..63af8b6606 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2005-05-05 Matthias Clasen + * gtk/gtktreednd.h: + * gtk/gtkwidget.h: Small cleanups. + * gtk/gtktreeview.c (gtk_tree_view_get_dest_row_at_pos): Fix a typo. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 30e861bcab..63af8b6606 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,8 @@ 2005-05-05 Matthias Clasen + * gtk/gtktreednd.h: + * gtk/gtkwidget.h: Small cleanups. + * gtk/gtktreeview.c (gtk_tree_view_get_dest_row_at_pos): Fix a typo. diff --git a/gtk/gtktreednd.h b/gtk/gtktreednd.h index 49c6dabd67..eb983b7aea 100644 --- a/gtk/gtktreednd.h +++ b/gtk/gtktreednd.h @@ -23,9 +23,7 @@ #include #include -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS #define GTK_TYPE_TREE_DRAG_SOURCE (gtk_tree_drag_source_get_type ()) #define GTK_TREE_DRAG_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_DRAG_SOURCE, GtkTreeDragSource)) @@ -118,10 +116,6 @@ gboolean gtk_tree_get_row_drag_data (GtkSelectionData *selection_dat GtkTreeModel **tree_model, GtkTreePath **path); - -#ifdef __cplusplus -} -#endif /* __cplusplus */ - +G_END_DECLS #endif /* __GTK_TREE_DND_H__ */ diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index 2a0a73291c..ac8ef52cf2 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -35,10 +35,7 @@ #include #include -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - +G_BEGIN_DECLS /* The flags that are used by GtkWidget on top of the * flags field of GtkObject. @@ -787,9 +784,6 @@ void _gtk_widget_propagate_screen_changed (GtkWidget *widget, GdkColormap* _gtk_widget_peek_colormap (void); -#ifdef __cplusplus -} -#endif /* __cplusplus */ - +G_END_DECLS #endif /* __GTK_WIDGET_H__ */ -- 2.30.2